<%@ page import="com.goodedeeds.webapp.controller.SchoolAction" %>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%--@elvariable id="actionBean" type="com.goodedeeds.webapp.controller.SchoolAction"--%>
<%@ include file="/WEB-INF/jsp/include/taglibs.jsp"%>
<div style="text-align: center; font-size: 1.5em;">Edit School</div>
<stripes:form action="<%=SchoolAction.URL%>" method="post">
    <stripes:text name="schoolId"/>
    <div>School Key: <stripes:text name="school.schoolKey"/></div>
    <div>School Id: <stripes:text name="school.schoolId"/></div>
    <div>School Name: <stripes:text name="school.schoolName"/></div>
    <div>School Description: <stripes:textarea name="school.schoolDescription"/></div>
    <div>School Status:
        <stripes:select name="school.schoolStatus">
        <stripes:options-collection collection="${actionBean.schoolStatuses}" label="name" value="id"/>
        </stripes:select>
    </div>
    <stripes:submit name="save" value="Save"/>
</stripes:form>
